package com.guchenbo.scala

/**
 * @author guchenbo
 * @date 2022/3/19
 */
object FuncDemo {
  def main(args: Array[String]): Unit = {
    def m1(): Unit = {
      println("m1")
    }

    def m2: Int = {
      println("m2")
      1
    }

    def m3 = 2

    m1()
    m2
    m3
    println(m2)

    var stu = new Student
    println(stu)

    c6.Stu
  }
}

